<!-- target: dashboardForm(master = formPage) -->
<!-- block: crumb -->
    <!-- import: dashboardFormCrumb -->
<!-- /block -->
<!-- block: formMain -->
    <!-- import: dashboardFormMain -->
<!-- /block -->

<!-- target: dashboardFormCrumb(master = crumb) -->
<!-- block: path -->
    <span>优惠</span>
    <span><!-- if: ${formType} === 'create' -->新增<!-- else: -->编辑<!-- /if -->优惠</span>
<!-- /block -->

<!-- target: dashboardFormMain(master = customFormView) -->
<!-- block: sections -->
    <!-- import: dashboardBaseContent -->
<!-- /block -->
<!-- block: submitSection -->
<button type="submit" data-ui-type="Button" data-ui-id="submit" data-ui-group="submit" data-ui-variants="warning wide" class="submit-button">确认提交</button>
<!-- /block -->

<!-- target: dashboardBaseContent -->
<section class="form-section">

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'title',
                title = '标题',
                maxLength=11,
                width = 200,
                required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textareaField(
                field = 'content',
                title = '详细解释',
                length=200,
                height=120,
                width = 200,
                required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'total',
                title = '电子卷个数',
                maxLength=11,
                width = 200,
                required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'price',
                title = '现价',
                maxLength=11,
                width = 200,
                required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'oldprice',
                title = '原价',
                maxLength=11,
                width = 200,
                required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            timeField(
                dateField = 'expirationTime',
                title = '上线时间',
                required = true
            )
        -->
    </div>

</section>

